package cn.tedu.mybatisxml.mapper;

import cn.tedu.mybatisxml.pojo.*;
import org.apache.ibatis.annotations.*;
import java.util.List;

@Mapper
public interface WeiboMapper {
    int insert(Weibo weibo);

    int deleteById(int id);

    int updateById(Weibo weibo);

    List<Weibo> selectAll();

    Weibo selectById(int id);

    List<WeiboVO> selectByCol();

    int selectWeiboCount();

    List<WeiboIndexVO> weiboIndex();

    WeiboDetailVO selectDetail(int id);

    List<WeiboCommentVO> selectComment(int id);
}
